<table cellspacing="0" cellpadding="0" class="forum">
	<tr>
		<td>板块</td>
		<td class="number">主题</td>
		<td class="number">帖数</td>
		<td>最后发表</td>
	</tr>
	<% @forums.each do |f| %>
	<tr>
		<td>
			<b><%= link_to f.title, forum_path(f) %></b>
			<br/>
			<span class="small"><%= f.description %></span>
		</td>
		<td class="number"><%= f.posts_count %></td>
		<td class="number"><%= f.posts_count + f.comments_count %></td>
		<td>
			<% if f.last_post %>
				<%= link_to f.last_post.title, post_path(f.last_post) %>
				<br/>
				<span class="small">by <%= link_to f.last_post.user.login, "http://#{f.last_post.user.login}.beyondrails.com" %> - <%= f.last_post.created_at.strftime("%Y-%m-%d %I:%M %p") %></span>
			<% else %>
				从未
			<% end %>
		</td>
  	</tr>
	<% end %>
</table>